<!-- 系统自动生成 Date:2021-06-11 10:29 -->
<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="修改【请填写功能名称】" bodyClass="white-bg" libs=["bootstrapSelect"]/>
<div class="wrapper wrapper-content ibox-content">
<@f.form id="form-sku-edit"  class="form-horizontal">
    <@f.hidden name="pkId" value="${sku.pkId?default('')}"/>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "accountPeriod"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="accountPeriod" value="${sku.accountPeriod?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "addTime"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="addTime" value="${sku.addTime?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "collected"/>：
        </label>
        <div class="col-sm-8">
            <input name="collected" class="form-control" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "deleted"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="deleted" value="${sku.deleted?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "images"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="images" value="${sku.images?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "imgsCover"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="imgsCover" value="${sku.imgsCover?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "isDeliver"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="isDeliver" value="${sku.isDeliver?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "isGiftPack"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="isGiftPack" value="${sku.isGiftPack?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "isNational"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="isNational" value="${sku.isNational?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "isPickUp"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="isPickUp" value="${sku.isPickUp?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "itemStock"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="itemStock" value="${sku.itemStock?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "mengniuPay"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="mengniuPay" value="${sku.mengniuPay?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "minQuantity"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="minQuantity" value="${sku.minQuantity?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "offSaleReason"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="offSaleReason" value="${sku.offSaleReason?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "offSaleStatus"/>：
        </label>
        <div class="col-sm-8">
            <div class="radio-box">
                <input type="radio" name="offSaleStatus" value=""/><span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
            </div>
        </div>
    </div>
     <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "offlinePay"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="offlinePay" value="${sku.offlinePay?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "oldPrice"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="oldPrice" value="${sku.oldPrice?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "price"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="price" value="${sku.price?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "priceLabel"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="priceLabel" value="${sku.priceLabel?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "priceSystem"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="priceSystem" value="${sku.priceSystem?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "settlementPrice"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="settlementPrice" value="${sku.settlementPrice?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "skuStatus"/>：
        </label>
        <div class="col-sm-8">
            <div class="radio-box">
                <input type="radio" name="skuStatus" value=""/><span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
            </div>
        </div>
    </div>
     <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "spuId"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="spuId" value="${sku.spuId?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "stockCountMode"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="stockCountMode" value="${sku.stockCountMode?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "typeCode"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="typeCode" value="${sku.typeCode?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "unit"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="unit" value="${sku.unit?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "version"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="version" value="${sku.version?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "detailUrl"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="detailUrl" value="${sku.detailUrl?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "skuComments"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="skuComments" value="${sku.skuComments?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "skuSales"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="skuSales" value="${sku.skuSales?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "skuVisits"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="skuVisits" value="${sku.skuVisits?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "remark"/>：
        </label>
        <div class="col-sm-8">
            <@f.textarea name="remark" value="${sku.remark?default('')}" />
        </div>
    </div>
</@f.form>
</div>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "/sku";
    /**表单验证*/
    <@compress single_line=true>
    $("#form-sku-edit").validate({
        focusCleanup: true
    });
    </@compress>

    /**
     * 点击确定回调事件
     */
    function submitHandler() {
        if (opt.validate.form()) {
            opt.operate.save(prefix + "/edit", $('#form-sku-edit').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>
